package com.mohe.dangjian.action;

import com.google.code.jcaptcha4struts2.common.actions.JCaptchaBaseAction;

/**
 * 验证码Action
 * @author Bruce
 *
 */
public class CaptchaAction extends JCaptchaBaseAction {

	private static final long serialVersionUID = -5698367063543527533L;
	
	private String text;

	public String getText() {
	    return text;
	}

	public void setText(String text) {
	    this.text = text;
	}
	
	@Override
	public String execute() throws Exception {
	    // Your action code here
	    return super.execute();
	}


	@Override
	public void validateInput() {
	    // Validation Logic Here

	    // Note that you cannot override validate() method (it's final).
	    // Instead, the logic should be provided in this method.
	}
}
